<?php

class Model extends CI_Model implements Table_name_able
{
    public function get_table_name()
    {
        $class = get_called_class();
        return strtolower(rtrim($class, '_model'));
    }
}
